home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
daymisckit_proj
/
Headers
/
daymisckit
/
ExtendedApp.h
< prev
Wrap
Text File
|
1995-06-12
|
1KB
|
37 lines
//
// ExtendedApp.h -- a class to make extra information available via the
// application object. If you use this object, you must link
// against ni_s or you'll get errors!
// Written by Don Yacktman (c) 1993 by Don Yacktman.
// Version 1.0. All rights reserved.
//
// This is a free object! Contact the author for the latest version.
// Don Yacktman, 4279 N. Ivy Lane, Provo, UT, 84604
// e-mail: Don_Yacktman@byu.edu
//
// See ExtendedApp.m for details of the software license.
//
#import <appkit/appkit.h>
@interface ExtendedApp:Application
{
char realHostName[MAXHOSTNAMELEN]; // host running the application
NXAtom userRealName; // real name of user running the app
}
+ new;
- (const char *)appDirectory;
- (int)userIDNum;
- (int)groupIDNum;
- (int)effectiveUserIDNum;
- (int)effectiveGroupIDNum;
- (unsigned long int)hostID;
- (NXAtom)userHomeDirectory;
- (NXAtom)userLoginName;
- (NXAtom)userRealName;
- (NXAtom)realHostName;
- (NXAtom)realNameFor:(NXAtom)userId;
@end